crypto/tls.Conn.peerCertificates (field)

19 uses

	crypto/tls (current package)
		conn.go#L57: 	peerCertificates []*x509.Certificate
		conn.go#L1628: 	state.PeerCertificates = c.peerCertificates
		conn.go#L1680: 	return c.peerCertificates[0].VerifyHostname(host)
		handshake_client.go#L695: 		if !bytes.Equal(c.peerCertificates[0].Raw, certMsg.certificates[0]) {
		handshake_client.go#L705: 		err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, c.peerCertificates[0], skx)
		handshake_client.go#L756: 	preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, c.peerCertificates[0])
		handshake_client.go#L949: 	c.peerCertificates = hs.session.peerCertificates
		handshake_client.go#L1179: 	c.peerCertificates = certs
		handshake_client_tls13.go#L463: 	c.peerCertificates = hs.session.peerCertificates
		handshake_client_tls13.go#L657: 		!isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, signatureSchemesForPublicKey(c.vers, c.peerCertificates[0].PublicKey)) {
		handshake_client_tls13.go#L669: 	if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		handshake_server.go#L550: 	c.peerCertificates = sessionState.peerCertificates
		handshake_server.go#L709: 			pub = c.peerCertificates[0].PublicKey
		handshake_server.go#L759: 	if len(c.peerCertificates) > 0 {
		handshake_server.go#L998: 	c.peerCertificates = certs
		handshake_server_tls13.go#L425: 		c.peerCertificates = sessionState.peerCertificates
		handshake_server_tls13.go#L1086: 			!isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, signatureSchemesForPublicKey(c.vers, c.peerCertificates[0].PublicKey)) {
		handshake_server_tls13.go#L1098: 		if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		ticket.go#L304: 		peerCertificates: c.peerCertificates,